# -*- coding: utf-8 -*-
import os , sys
class GetOsType():

    def __init__(self):
        self.getOsTYpe()
        pass

    def getOsTYpe(self):
        osType = sys.platform

        if osType == "win32":
            self.OsType = "Windows"
        elif osType == "linux":
            self.OsType = "linux"

    def isWindows(self):
        return self.OsType == "Windows"

    def isLinux(self):
        return self.OsType == "linux"

GetOsTypeCmd = GetOsType()